import instance from '../axios_config'

const get_menus = async () => {
  const menus = await instance.get('/per-manage/permissions/menus/')
  sessionStorage.setItem('menu_routers', JSON.stringify(menus.data))
  return menus.data
}

export default get_menus
